Skip to content

Instantly share code, notes, and snippets.

@rvrsh3ll
rvrsh3ll / windows-keys.md
Created February 18, 2024 22:44
Windows Product Keys

NOTE

These are NOT product / license keys that are valid for Windows activation.
These keys only select the edition of Windows to install during setup, but they do not activate or license the installation.

Index

@HarmJ0y
HarmJ0y / PowerView-3.0-tricks.ps1
Last active January 18, 2026 23:02
PowerView-3.0 tips and tricks
# PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/
# tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c
# the most up-to-date version of PowerView will always be in the dev branch of PowerSploit:
# https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1
# New function naming schema:
# Verbs:
# Get : retrieve full raw data sets
# Find : ‘find’ specific data entries in a data set
@kylemanna
kylemanna / nvme_benchmark.py
Last active January 18, 2026 23:00
NVMe tool to track degradation of read performance for old/stale data on NVMe drives
#!/usr/bin/env -S uv run --script
# /// script
# requires-python = ">=3.8"
# dependencies = [
# "matplotlib",
# "pandas",
# ]
# ///
"""
@JinKwonJeon
JinKwonJeon / gist:12251c172b104520f9dca95b098289a1
Last active January 18, 2026 22:55
EXCEL CALENDAR FUNCTION
=LAMBDA(년도,월,[개월수],[공휴일표],[일정표],[날짜서식],[요일표시],[전후월표시],[월요일시작],
LET(
oYear,년도,oMonth,월,sMonth,IF(개월수=0,1,개월수),
fromMon,IF(월요일시작=0,0,1),
dataA,IF(공휴일표=0,{"",""},공휴일표),
dataB,IF(일정표=0,{"","",""},일정표),
displayHeader,IF(요일표시=0,0,1),
dFormat,IF(날짜서식=0,"m/d",날짜서식),
displayPrev,IF(전후월표시=0,0,1),oDate,DATE(oYear,oMonth,1),
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active January 18, 2026 22:54
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@pinei
pinei / README.md
Last active January 18, 2026 22:52
A Carousel component for Quartz v4.5

Description

What is a Carousel Component?

A carousel (also known as a slider or image gallery) is a UI component that displays a series of content items (in this case, images) in a rotating fashion. Users can navigate through the content using:

  • Navigation arrows (previous/next buttons)
  • Dot indicators (click to jump to specific slides)
  • Keyboard navigation (arrow keys)
  • Touch/swipe gestures (on mobile devices)
@d-kja
d-kja / nikke-linux.md
Last active January 18, 2026 22:48
Installing NIKKE under Linux

NIKKE on Linux - Complete Installation Guide

First of all, happy new year (maybe?)

Important Warning

Just letting you know ahead of time, your account can be banned! I’ve been playing since the initial post without any issues, but do this at your own risk!

@nickav
nickav / ReadDirectoryChangesW_craziness.cpp
Last active January 18, 2026 22:42
Example of how to poll ReadDirectoryChangesW on Windows
int main() {
char *path = "/path/to/my/directory";
print("watching %s for changes...\n", path);
HANDLE file = CreateFile(path,
FILE_LIST_DIRECTORY,
FILE_SHARE_READ | FILE_SHARE_WRITE | FILE_SHARE_DELETE,
NULL,
OPEN_EXISTING,
FILE_FLAG_BACKUP_SEMANTICS | FILE_FLAG_OVERLAPPED,
@mutin-sa
mutin-sa / Top_Public_Time_Servers.md
Last active January 18, 2026 22:41
List of Top Public Time Servers

Google Public NTP [AS15169]:

time.google.com

time1.google.com

time2.google.com

time3.google.com

@mutin-sa
mutin-sa / Top_Public_Recursive_Name_Servers.md
Last active January 18, 2026 22:40
List of Top Public Recursive Name Servers

DNS:

IPv4 Addr IPv6 Addr ASn Political Region Loc Svc Org
8.8.8.8 2001:4860:4860::8888 AS15169 US Worldwide (Anycast) Google Public DNS Google
8.8.4.4 2001:4860:4860::8844 AS15169 US Worldwide (Anycast) Google Public DNS Google
1.1.1.1 2606:4700:4700::1111 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
1.0.0.1 2606:4700:4700::1001 AS13335 US Worldwide (Anycast) Cloudflare-DNS Cloudflare/APNIC
95.85.95.85 2a03:90c0:999d::1 AS199524 EU *W